<?php /* Smarty version Smarty-3.0.7, created on 2011-11-19 11:47:18
         compiled from "components/filter/filterimposition.tpl" */ ?>
<?php /*%%SmartyHeaderCode:11694031464ec789366551d1-78159155%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'b93d68993a32937ddd8437a8496d2a1da4da630e' => 
    array (
      0 => 'components/filter/filterimposition.tpl',
      1 => 1321698992,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '11694031464ec789366551d1-78159155',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php echo $_smarty_tpl->getVariable('borderopen')->value;?>

<?php if ($_smarty_tpl->getVariable('list')->value['withstatus']){?>
		<span class="status"><?php echo $_smarty_tpl->getVariable('list')->value['tabletitle'];?>
</span>
		<span id="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
_status" class="statusdetail">
		</span>
<?php }?>
<table>
	<?php $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable;$_smarty_tpl->tpl_vars['i']->step = 1;$_smarty_tpl->tpl_vars['i']->total = (int)ceil(($_smarty_tpl->tpl_vars['i']->step > 0 ? ceil(count($_smarty_tpl->getVariable('imps')->value)/2)+1 - (1) : 1-(ceil(count($_smarty_tpl->getVariable('imps')->value)/2))+1)/abs($_smarty_tpl->tpl_vars['i']->step));
if ($_smarty_tpl->tpl_vars['i']->total > 0){
for ($_smarty_tpl->tpl_vars['i']->value = 1, $_smarty_tpl->tpl_vars['i']->iteration = 1;$_smarty_tpl->tpl_vars['i']->iteration <= $_smarty_tpl->tpl_vars['i']->total;$_smarty_tpl->tpl_vars['i']->value += $_smarty_tpl->tpl_vars['i']->step, $_smarty_tpl->tpl_vars['i']->iteration++){
$_smarty_tpl->tpl_vars['i']->first = $_smarty_tpl->tpl_vars['i']->iteration == 1;$_smarty_tpl->tpl_vars['i']->last = $_smarty_tpl->tpl_vars['i']->iteration == $_smarty_tpl->tpl_vars['i']->total;?>
		<tr>
			<td width="400px">
				<?php echo $_smarty_tpl->getVariable('imps')->value[('doublecb').($_smarty_tpl->tpl_vars['i']->value)];?>

			</td>
			<td width="400px">
				<?php $_smarty_tpl->tpl_vars['j'] = new Smarty_variable($_smarty_tpl->tpl_vars['i']->value+ceil(count($_smarty_tpl->getVariable('imps')->value)/2), null, null);?>
				<?php echo $_smarty_tpl->getVariable('imps')->value[('doublecb').($_smarty_tpl->getVariable('j')->value)];?>

			</td>
		</tr>
	<?php }} ?>
</table>
<table class="center">
	<tr>
		<td width="300px">
			<?php echo $_smarty_tpl->getVariable('list')->value['lblhastype'];?>
<input type="radio" name="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_rd_imptype" id="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_rd_imptype1" value="1" checked="checked"  onclick="setDoubleCb('<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
');"/>
			<?php echo $_smarty_tpl->getVariable('list')->value['lblhasnottype'];?>
<input type="radio" name="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_rd_imptype" id="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_rd_imptype0" value="0"  onclick="setDoubleCb('<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
');"/>
			<?php echo $_smarty_tpl->getVariable('impositiontypes')->value;?>

		</td>
		<?php if ($_smarty_tpl->getVariable('list')->value['semesters']){?>
		<td width="300px">
			<input type="checkbox" id="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_cb_currsem" onclick="setDoubleCb('<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
');"/><?php echo $_smarty_tpl->getVariable('list')->value['lblcurrsem'];?>
<br/>
			<input type="checkbox" id="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_cb_priorsem" onclick="setDoubleCb('<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
');"/><?php echo $_smarty_tpl->getVariable('list')->value['lblpriorsem'];?>
<br/>
		</td>
		<?php }?>
	</tr>
</table>
<?php echo $_smarty_tpl->getVariable('borderclose')->value;?>

<script>
	setFilterStatus("<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
","<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
")
</script>